<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function Shoe() {

        }
        Shoe.prototype = {
            time: 2,
            skill: 'run'
        }
        var nike = new Shoe()

        ShoeShop.prototype = nike
        function ShoeShop() {
            this.name = '烽火',
            this.time = 5
        }
        var ShoeShop1 = new ShoeShop()
        console.log(ShoeShop1)

        ShopApp.prototype = ShoeShop1
        function ShopApp(name) {
            this.name = name
            this.time = 20
        }
        var ShopApp1 = new ShopApp('淘宝')
        console.log(ShopApp1)

    </script>
</body>
</html>